package com.wx.service;

import java.util.ArrayList;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wx.core.vo.FansGroup;
import com.wx.entity.WxFansGroup;
import com.wx.entity.WxFansGroupExample;

public interface WxFansGroupService {
	public int insert(WxFansGroup wxFansGroup);

	public int create(String accessToken,WxFansGroup record);
	
	public int update(String accessToken,WxFansGroup record);
	
	
	public int deleteAndInsert(String wxid,int uid ,ArrayList<FansGroup> list);
	
	
	public List<WxFansGroup> selectByExample(WxFansGroupExample example);
	
	public List<WxFansGroup> selectByWxid(String wxid);

	public WxFansGroup selectByPrimaryKey(Integer id);

	public int countByExample(WxFansGroupExample example);

	public int updateByExample(@Param("record") WxFansGroup record,@Param("example") WxFansGroupExample example);

	public int updateByPrimaryKey(@Param("record") WxFansGroup record);
	
	public int deleteByPrimaryKey(Integer id);
	
	public int deleteByGroupId(String accessToken,WxFansGroup wxFansGroup);
	
	public int deleteByPrimaryKey(WxFansGroupExample example);
	
}
